package com.dfbz.service;

import com.dfbz.model.Article;

import java.util.List;
import java.util.Map;

public interface ArticleServlet {

    Integer findAllArticleNum(String title);

    List<Article> findAllArticle(String title, Integer starNum, Integer pageSize);

    Article getById(Integer i);

    void addBrowse(Integer articleId);

    Integer getFocusNum(int i);

    List<Map<String, Object>> findMyFocusUserFocusArticle(int i1, Long id);

    void save(Article article);

    Integer getAllMyFocusArticleNum(Long id);

    List<Map<String, Object>> getMyFocusArticle(Long id, int i, Integer pageSize);

}
